
#ifndef wu_SOLIDCIRCLEMANAGER_H
#define wu_SOLIDCIRCLEMANAGER_H

#pragma once
#include "wuSolidCircle.h"
#include "wuBase2dManager.h"

class wuSolidCircleManager : public wuBase2dManager
{
    public:
        wuSolidCircleManager();
        ~wuSolidCircleManager();

		bool capture(ofImage *currImg, ofImage *bgImg, int x_offset);
		void addBitxo(ofImage *_skin, ofRectangle rect, vector <ofPoint> * _pts);
        void update();
        void draw(bool pinta_bg=false, int offX=0);
        void drawSelected(bool pinta_bg=false, int offX=0);
        void clear(void);

		void touch(int _x,int _y, int forceX=300, int forceY=0);
		bool drag(int _x,int _y);
        vector <ofPoint> getPosition();
        void setPosition(vector <ofPoint> positions);
        void stop_gravity();
		// box2d
        vector <wuSolidCircle> circles;

};
#endif

